home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / Software / Vyzkuste / xsetup / _SETUP.2 / Group3 / XQ MS Money 1.xpl < prev    next >
Text File  |  1999-09-14  |  1KB  |  54 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="3"
  3. "DATA 1"="Programs (*.exe)|*.EXE"
  4. "COUNT"="2"
  5. "UIPATH"="Program Options\Money"
  6. "NAME"="Calculator"
  7. "VERSION"="2.02"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Calc for 99"
  10. "TEXT 2"="Calc for 2000"
  11. "DESCRIPTION 1"="This option will allow you to change the program that is launched from Microsoft Money 99 or 2000 when you click 'Tools, Calculator' in it."
  12. "DESCRIPTION 2"="You might wish to change this to Excel.exe if you have Microsoft Excel which can handle many more mathematical functions than Windows' Calculator program can."
  13. "DESCRIPTION 3"="The default program is Calc.exe, which is Windows Calculator."
  14. "AUTHOR"="Xteq Systems"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  17. "COMMENT 2"="Thanks to CptSiskoX for his help!"
  18.  
  19.  
  20. sPC="HKCU\Software\Microsoft\Money\"
  21. sV1="HKCU\Software\Microsoft\Money\7.0\Calculator"
  22. sV2="HKCU\Software\Microsoft\Money\8.0\Calculator"
  23.  
  24. Sub Plugin_Initialize 
  25.  If RegPathExists(sPC) then
  26.     s=RegReadValue(sV1)
  27.     SetUiElement 1,s
  28.  
  29.     s=RegReadValue(sV2)
  30.     SetUiElement 2,s
  31.  
  32.  else
  33.     Call Disable()
  34.  end if
  35. End Sub
  36.  
  37. Sub Plugin_CheckData(ElementIndex)
  38. End Sub
  39.  
  40. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  41.  s=GetUIElement(1)
  42.  Call RegWriteValue(sV1,s,1)
  43.  
  44.  s=GetUIElement(2)
  45.  Call RegWriteValue(sV2,s,1)
  46.  
  47. End Sub
  48.  
  49. Sub Plugin_Terminate 
  50. End Sub
  51.  
  52.  
  53.  
  54.